<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<body>
<!-- Top -->
<div class="layui-header" th:fragment="index_top">
    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item" lay-unselect="">
            <a href="javascript:;"><em id="myName"><i class="layui-icon">&#xe66f;</i>&nbsp;&nbsp;<th:block sec:authentication="principal.name"></th:block></em></a>
            <dl class="layui-nav-child">
                <dd><a href="javascript:do_change_password();" id="editPwd"><i class="layui-icon">&#xe673;</i>&nbsp;修改密码</a></dd>
                <dd><a th:href="@{/logout}" class="exit"><i class="layui-icon">&#xe682;</i>&nbsp;退出</a></dd>
            </dl>
        </li>
    </ul>
    <ul class="layui-nav layui-layout-left" id="menu"></ul>
</div>
</body>
</html>